const goosdItem = [
    {url:'https://yanxuan-item.nosdn.127.net/221317c85274a188174352474b859d7b.jpg',name:'全防水HABU旋钮牛皮户外徒步鞋山宁泰抗菌',attrs:'颜色:骑士黑 尺码:39 ',price:'￥444',count:'1',subtotal:'￥444',Paid:'￥444'},
    {url:'https://yanxuan-item.nosdn.127.net/605d71caa460e3c05cb2fd1b2885b9b4.jpg',name:'儿童字母纯棉POLO衫73-130cm',attrs:'颜色:黄白条 尺码:130cm ',price:'￥99',count:'1',subtotal:'￥99',Paid:'￥99'},
    {url:'https://yanxuan-item.nosdn.127.net/1ee83dc27645e7bdc1bda228c04b85f3.jpg',name:'网易味央黑猪猪肘330g*1袋',attrs:'规格:猪肘330g*1袋 ',price:'￥37',count:'4',subtotal:'￥37',Paid:'￥37'},
    {url:'https://yanxuan-item.nosdn.127.net/e47ffac6fe8d65f2d77b449d7ccf2fc3.jpg',name:'网易味央黑猪猪蹄330g*1袋',attrs:'规格:猪蹄330g*1袋 ',price:'￥38.9',count:'2',subtotal:'￥38.9',Paid:'￥38.9'},
    {url:'http://yjy-xiaotuxian-dev.oss-cn-beijing.aliyuncs.com/picture/2021-04-05/7f483771-6831-4a7a-abdb-2625acb755f3.png',name:'极光限定 珠光蓝珐琅锅',attrs:'颜色:黑色 产地:日本 尺寸:30cm ',price:'￥166',count:'1',subtotal:'￥166',Paid:'￥166'},
]
const goodsList = document.querySelector('.goodsTable tbody')

goosdItem.forEach(function (e) {
    const newTr = document.createElement('tr')
    newTr.innerHTML = `
    <td>
        <a href="#">
            <img src="${e.url}"
                alt="">
            <div class="info">
                <p class="name">${e.name}</p>
                <p class="attrs">${e.attrs} </p>
            </div>
        </a>
    </td>
    <td>${e.price}</td>
    <td>${e.count}</td>
    <td>${e.subtotal}</td>
    <td>${e.Paid}</td>
    `
    goodsList.appendChild(newTr)
})